package com.ht.shop.utils;

import java.util.concurrent.ExecutorService;

public class ExcutorsUtils {
    public static ExecutorService executorService;

    public static void setExecutorService(ExecutorService executorService){
        ExcutorsUtils.executorService = executorService;
    }
    public static  void shutdown() {executorService.shutdown();}
    public static void submit(Runnable runnable) {executorService.submit(runnable);}
}
